cmake_minimum_required(VERSION 3.0)

project(firewall_loop)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin/)

#头文件
include_directories(../lib/hv/ ./ ../lib/)
#库文件
link_directories(../lib/)

#获取所有源文件，存入SOURCE_DIR
aux_source_directory(./ SOURCE_DIR)

message(STATUS "source file" "${SOURCE_DIR}" )

add_executable(firewall_loop ${SOURCE_DIR})

target_link_libraries(firewall_loop hv.lib)
target_link_libraries(firewall_loop hv.dll)